package com.capIX.Threads;

public class ManyNames {
	public static void main(String[] args) {
		//Make one Runnable
		NameRunnable2 nr=new NameRunnable2();

		Thread one=new Thread(nr);
		one.setName("Fred");
		Thread two=new Thread(nr);
		two.setName("Lucy");
		Thread three=new Thread(nr);
		three.setName("RIcky");
		
		
		one.start();
		two.start();
		three.start();
		
	}
}
